Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Node Location Atom Structure

Currently the node location atom is the only child atom defined for the node ID atom. Its atom type is kQTVRNodeLocationAtomType ('nloc'). A node location atom describes the type of a node and its location.

The structure of a node location atom is defined by the VRNodeLocationAtom data type:

typedef struct VRNodeLocationAtom {
    UInt16                              majorVersion;
    UInt16                              minorVersion;
    OSType                              nodeType;
    UInt32                              locationFlags;
    UInt32                              locationData;
    UInt32                              reserved1;
    UInt32                              reserved2;
} VRNodeLocationAtom, *VRNodeLocationAtomPtr;
majorVersion
The major version number of the file format.
minorVersion
The minor version number of the file format.
nodeType
The node type. See "Node Types" in Chapter 2, "QuickTime VR Manager," for a description of the available node types. Currently, this field should contain either kQTVRPanoramaType or kQTVRObjectType .
locationFlags
The location flags. Currently, this field must contain the value kQTVRSameFile , indicating that the node is to be found in the current file. In future, these flags may indicate that the node is in a different file or at some URL location.
locationData
The location of the node data. When the locationFlags field is kQTVRSameFile , this field should be 0. The nodes are found in the file in the same order that they are found in the node list.
reserved1
Reserved. This field must be 0.
reserved2
Reserved. This field must be 0.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |